<!DOCTYPE html>
<html lang="zh-CN"  xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8"/>
    <title>Title</title>
    <link rel="stylesheet" href="../css/vue-bootstrap.css"/>
</head>
<body>
<div class="container">
    <h2>请确认</h2>

    <p>
        您授权 "<span th:text='${authorizationRequest.clientId}'></span>" 访问您的受保护资源吗？<br/>
        范围 <span th:text="${authorizationRequest.scope}"></span>.
    </p>
    <form id="confirmationForm" name="confirmationForm"
          th:action="@{authorize}" method="post">
        <input name="user_oauth_approval" value="true" type="hidden" />
<!--
        <input type="hidden" th:id="csrf_token" th:name="${_csrf.parameterName}" th:value="${_csrf.token}"/>
-->
        <button class="btn btn-primary" type="submit">授权</button>
    </form><br/>
    <form id="denyForm" name="confirmationForm"
          th:action="@{authorize}" method="post">
        <input name="user_oauth_approval" value="false" type="hidden" />
        <!--<input type="hidden" th:id="csrf_token" th:name="${_csrf.parameterName}"  th:value="${_csrf.token}"/>-->
        <button class="btn btn-primary" type="submit">拒绝</button>
    </form>
</div>
<script src="../js/vue-bootstrap.js"	type="text/javascript"></script>
</body>
</html>